﻿
using System.Collections.Generic;
namespace Pretext.Functions {
    public class FunctionInfo {

        public FunctionInfo(string functionName, List<Token> arguments, int startIndex, int endIndex) {
            FunctionName = functionName.ToLower();
            Arguments = arguments;
            StartTokenIndex = startIndex;
            EndTokenIndex = endIndex;
        }

        public string FunctionName { get; private set; }
        public List<Token> Arguments { get; private set; }

        public int StartTokenIndex { get; private set; }
        public int EndTokenIndex { get; private set; }

    }
}
